diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx index 3e06cb0f..2319a041 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/consent/page.tsx @@ -4,6 +4,7 @@ import { eq, desc } from 'drizzle-orm' import db from '@/db/db' import { policyVersions } from '@/db/schema' import { PolicyPageClient } from '@/components/polices/policy-page-client' +import { useTranslation } from "@/i18n" export const metadata: Metadata = { title: '정책 관리 | eVCP Admin', @@ -82,8 +83,10 @@ async function getPoliciesData() { } -export default async function PoliciesPage() { +export default async function PoliciesPage(props: { params: Promise<{ lng: string }> }) { + const { lng } = await props.params + const data = await getPoliciesData() - return <PolicyPageClient data={data} /> + return <PolicyPageClient data={data as any} lng={lng} /> } |
